<?=$this->doctype(Zend_View_Helper_Doctype::XHTML1_TRANSITIONAL); ?>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<?= $this->headTitle()?>
		<script type="text/javascript" src="/js/jquery-1.7.1.js"></script>
		<script type="text/javascript" src="/js/ajax.js"></script>
		<link href="/css/style.css" media="screen" rel="stylesheet" type="text/css" />
        <link type="image/x-icon" href="/img/favicon.ico" rel="shortcut icon">
		<script type="text/javascript" src="/js/script.js"></script>
	</head>
	<body>
		<div id="content">
			<div id="header">
                <div class="search">
                    <div class="search_title">Search</div>
                    <div class="search_text">
                        <input type="text" class="input_text" name="search" id="search_text" />
                    </div>
                    <div class="search_select">
                        <select id="search_area" class="input_select">
                            <option value="spa">devices</option>
                            <option value="account">accounts</option>
                            <option value="type">types</option>
                            <option value="companies">companies</option>
                        </select>
                    </div>
                    <div class="search_button" onClick="doSearch(document.getElementById('search_text').value, document.getElementById('search_area').value, 'search_results_field');">
                        <img src="/img/search_btn.png" />
                    </div>
                    <div class="clear"></div>
                </div>
				<div id="site_menu">
					<div id="hide_part">
						<ul>
							<li><a href="">settings</a></li>
							<li><a href="">other item</a></li>
						</ul>
					</div>
					<div class="clear"></div>
					<div id="button_show_menu">
						.....
					</div>
				</div>
				<div id="header_left"></div>
				<div id="header_right">
					<span class="cur_user">admin</span>
					<a href="<?=$this->url(array('controller' => 'auth', 'action' => 'logout')); ?>">(Выход)</a>
				</div>
			</div>
			<div id="center">
				<div id="right">
					<div id="inner">
						<h1><?=$this->title; ?></h1>
						<?=$this->layout()->content ?>
					</div>
					<div id="search_results">
						<div id="search_results_field">
							bla
						</div>
						<div id="search_show_btn">Скрыть/показать результаты поиска</div>
					</div>
				</div>
				<div id="left">
					<?=$this->partial('menu.tpl'); ?>
				</div>
			</div>
			<div class="empty"></div>
		</div>
		<div id="footer">
			<div id = "copyright">
				Principio v0.2.0&nbsp;&nbsp;&nbsp;Copyright © 2011 - 2012 Principio Lab
			</div>	
		</div>
    </body>
</html>